home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form4
- Caption = "Store Data"
- ClientHeight = 3435
- ClientLeft = 1230
- ClientTop = 1605
- ClientWidth = 7455
- Height = 3840
- Left = 1170
- LinkMode = 1 'Source
- LinkTopic = "Form4"
- ScaleHeight = 229
- ScaleMode = 3 'Pixel
- ScaleWidth = 497
- Top = 1260
- Width = 7575
- Begin CommandButton Command2
- Caption = "Cancel"
- Height = 375
- Left = 3960
- TabIndex = 5
- Top = 2760
- Width = 2055
- End
- Begin CommandButton Command1
- Caption = "OK"
- Default = -1 'True
- Height = 375
- Left = 1200
- TabIndex = 4
- Top = 2760
- Width = 2055
- End
- Begin VBedit BEdit4
- CellHeight = 32
- CellWidth = 22
- CombBaseLine = 24.333
- CombEndHeight = 8
- CombEndMarker = 0 'False
- CombHeight = 4
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 495
- InflateBottom = 12
- InflateLeft = 12
- InflateRight = 12
- InflateTop = 16
- Left = 1800
- TabIndex = 9
- Top = 2040
- Version = 268435458
- Width = 5415
- End
- Begin VBedit BEdit3
- CellHeight = 32
- CellWidth = 22
- CombBaseLine = 24.333
- CombEndHeight = 8
- CombEndMarker = 0 'False
- CombHeight = 4
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 495
- InflateBottom = 12
- InflateLeft = 12
- InflateRight = 12
- InflateTop = 16
- Left = 1800
- TabIndex = 8
- Top = 1440
- Version = 268435458
- Width = 5415
- End
- Begin VBedit BEdit2
- CellHeight = 32
- CellWidth = 22
- CombBaseLine = 24.333
- CombEndHeight = 8
- CombEndMarker = 0 'False
- CombHeight = 4
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 495
- InflateBottom = 12
- InflateLeft = 12
- InflateRight = 12
- InflateTop = 16
- Left = 1800
- TabIndex = 7
- Top = 840
- Version = 268435458
- Width = 5415
- End
- Begin VBedit BEdit1
- CellHeight = 32
- CellWidth = 22
- CharSet = 16396
- CombBaseLine = 24.333
- CombEndHeight = 8
- CombEndMarker = 0 'False
- CombHeight = 4
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 18
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 495
- InflateBottom = 12
- InflateLeft = 12
- InflateRight = 12
- InflateTop = 16
- Left = 1800
- TabIndex = 6
- Top = 240
- Version = 268435458
- Width = 1455
- End
- Begin Label Label4
- Caption = "Department:"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 2160
- Width = 1095
- End
- Begin Label Label3
- Caption = "Sold By: "
- Height = 255
- Left = 240
- TabIndex = 2
- Top = 1560
- Width = 735
- End
- Begin Label Label2
- Caption = "Store Location:"
- Height = 255
- Left = 240
- TabIndex = 1
- Top = 960
- Width = 1335
- End
- Begin Label Label1
- Caption = "Store #: "
- Height = 255
- Left = 240
- TabIndex = 0
- Top = 360
- Width = 735
- End
- Sub Command1_Click ()
- Form1.StoreNo.Text = LTrim$(BEdit1.Text)
- Form1.StoreLoc.Text = LTrim$(BEdit2.Text)
- Form1.SoldBy.Text = LTrim$(BEdit3.Text)
- Form1.Dept.Text = LTrim$(BEdit4.Text)
- Unload Form4
- End Sub
- Sub Command2_Click ()
- Unload Form4
- End Sub
- Sub Form_Load ()
- Form4.Top = (Screen.Height - Form4.Height) / 2
- Form4.Left = (Screen.Width - Form4.Width) / 2
- BEdit1.Text = LTrim$(Form1.StoreNo.Text)
- BEdit2.Text = Form1.StoreLoc.Text
- BEdit3.Text = Form1.SoldBy.Text
- BEdit4.Text = Form1.Dept.Text
- End Sub
-